package sskj.regulatory.presentation.screen.register

import sskj.regulatory.domain.entity.user.UserEntity
import sskj.regulatory.presentation.base_mvp.api.ApiContract

interface RegisterMakePasContract {
    interface View : ApiContract.View {

        //注册成功
        fun registerOk()

        //注册报错
        fun registerError(message: String?)
    }

    interface Presenter : ApiContract.Presenter<View> {

        //执行注册方法
        fun register(userEntity: UserEntity)
    }
}